package com.heima.service.impl;

import com.heima.common.PageResult;
import com.heima.mapper.PartnerMapper;
import com.heima.pojo.dto.PartnerPageDTO;
import com.heima.service.PartnerService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

@Service
public class PartnerServiceImpl implements PartnerService {
    @Autowired
    private PartnerMapper partnerMapper;

    @Override
    public PageResult pageQuery(PartnerPageDTO partnerPageDTO) {
        return partnerMapper.pageQuery(partnerPageDTO);
    }
}
